﻿import java.util.Scanner;

public class buyaowen{
	public static void main(String[] args){
		Scanner input = new Scanner(System.in);
		System.out.println("请输入第一个数");
		int num1 = input.nextInt();
		System.out.println("请输入运算符:1.+2.-3.*4./");
		int fu = input.nextInt();
		System.out.println("请输入第二个数");
		int num2 = input.nextInt();
		if(fu==1){
			System.out.println(num1+num2);
		}else if(fu==2){
			System.out.println(num1-num2);
		}else if(fu==3){
			System.out.println(num1*num2);
		}else if(fu==4){
			System.out.println(num1/num2);
		}
		
	}
}